#!/usr/bin/python
# -*- coding: UTF-8 -*-

import json

class Annotation:
    startNum = 0
    endNum = 0

    def __init__(self, start = 0, end = 0):
        self.startNum = start
        self.endNum = end

    def toString(self):
        return json.dumps(self.__dict__)

def main():
   x = Annotation()
   print(x.toString())

   y = Annotation(1,1)
   print(y.toString())


if (__name__ == '__main__'):
    main()